<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <table border="1" cellpadding="0">
        <tr>
            <td>用户</td>
            <td>密码</td>
        </tr>
        {% for user in pager.object_list %}
            <tr>
                <td>{{ user.aid }}</td>
                <td>{{ user.title }}</td>
                <td>{{ user.download }}</td>
            </tr>

        {% endfor %}
    <span>共 <b>{{ paginator.count }}</b> 条 每页 <b>{{ paginator.per_page }} </b>条   {{pager.number}}/{{ paginator.num_pages }}</span>
    </table>
    <div>
{#    paginator.page_range页码列表#}
        {% for page in paginator.page_range %}
{#            page为urls中的<int:page>#}
            <a href="{% url 'App:fenye' page=page %}">{{ page }}</a>
        {% endfor %}
    </div>
</body>
</html>